﻿using System;
using System.Collections.Generic;
using System.Text;
using Lswweb.Model;

namespace Lswweb.IDAL
{
    public interface IMessages
    {
        MessageInfo GetModel(int id);

        IList<MessageInfo> GetModels(bool isRead, int pageSize, int pageIndex, out int totalRecord);

        int Insert(MessageInfo model);

        bool Delete(int id);

        bool UpdateIsRead(int id);
    }
}
